﻿using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

/// <summary>
/// T_ManagerCount 的摘要说明
/// </summary>
namespace AdminRights
{
    public class TManagerCount
    {
        #region Model
        private int _id;
        private string _ip;
        private DateTime _startdate;
        private DateTime _lastdate;
        private int _successcount;
        private int _defeatcount;
        private string _managername;
        public int ID
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 登录IP
        /// </summary>
        public string IP
        {
            set { _ip = Base.Common.FilterHtml(value); }
            get { return _ip; }
        }
        /// <summary>
        /// 首次登录后台时间
        /// </summary>
        public DateTime StartDate
        {
            set { _startdate = value; }
            get { return _startdate; }
        }
        /// <summary>
        /// 最后登录后台时间
        /// </summary>
        public DateTime LastDate
        {
            set { _lastdate = value; }
            get { return _lastdate;}
        }
        /// <summary>
        ///  用户成功登陆次数
        /// </summary>
        public int SuccessCount
        {
            set { _successcount = value; }
            get { return _successcount;}
        }
        /// <summary>
        /// 用户失败登录次数
        /// </summary>
        public int DefeatCount
        {
            set { _defeatcount = value; }
            get { return _defeatcount; }
        }
        /// <summary>
        /// 登录用户
        /// </summary>
        public string ManagerName
        {
            set { _managername = Base.Common.FilterHtml(value); }
            get { return _managername; }
        }
        #endregion Model
    }
}
